Welcome![Sign In][Sign Up]
Location:
Search - lex yacc calculat

Search list

[ELanguagestudy_Lex_Yacc

Description: Lex 和Yacc 简明教程 本书将教会你如何使用lex 和yacc 构造一个编译器。 lex 和yacc 是两个用来生成词汇分析器和剖析器的工具。 导言部分描写了构建编译器所需的基本部分,以及lex 和yacc 之间的互动关系。后面两章更加详细的描写了lex 和 yacc。构建了一个经典的计算器程序。这个计算器支持常用 的算术符号和控制结构,例如实现了像ifelse和while 这样的控制结构。经过小小的修改,就把这个计算器转换成一个可以运行在基于栈的计算机上的编译器。-Lex and Yacc tutorial concise book will teach you how to use lex and yacc to construct a compiler. lex and yacc are used to generate lexical analyzer and parser tools. Introductory section describes the compiler to build the basic parts, as well as lex and yacc interaction between. Behind the two chapters of a more detailed description of the lex and yacc. Construction of a classic calculator program. The calculator supports the common arithmetic symbols and control structure, for example, realize like ifelse and while such a control structure. After small modifications, so the calculator can run into a stack-based computer compiler.
Platform: | Size: 351232 | Author: 蒋崇武 | Hits:

CodeBus www.codebus.net